package com.bci.pwtz.service.cad;

public class Cad_BaseDevice {
	public Cad_Rect drawRect = new Cad_Rect(0);
	public Cad_Point linkPoint = new Cad_Point();
	public boolean linked = false;

	public boolean equals(Object paramObject) {
		boolean result = false;
		if ((paramObject instanceof Cad_BaseDevice)) {
			Cad_BaseDevice dev = (Cad_BaseDevice) paramObject;
			if (this.linkPoint.equals(dev.linkPoint)
					&& this.drawRect.equals(dev.drawRect)) {
				result = true;
			}
		}
		return result;
	}
}
